<?php
	if ((!defined("ADMIN-AREA")) || (!in_array(SHOWVIEW,$_SESSION['access']))) {
		die("No data");
	} else {
		unset($_SESSION['access']);
	}
	
	$statTambah = true;
	require "modul/funct_stat.php";
?>
<div align="center">
    <form id="form1" name="form1" method="post" action="<?php echo $path; ?>ver_sitemap.php?show=<?php echo SHOW; ?>&amp;showview=<?php echo SHOWVIEW; ?>">
        <table width="600" border="0" cellspacing="2" cellpadding="4">
          <tr>
            <td colspan="3"><div align="center"><?php echo $SITEMAP_CONFIG; ?></div></td>
          </tr>
          <tr>
            <td width="225" valign="top" nowrap="nowrap"><div align="left"><?php echo $SITEMAP_CATEGORY; ?></div></td>
            <td width="5" valign="top"><div align="left">:</div></td>
            <td valign="top"><div align="left">
            <?php
				$sql = "SELECT * FROM tbl_kategori WHERE tipe='beritaartikel'";
				$qry = mysql_query($sql);
				while ($row = mysql_fetch_object($qry)) {
					echo '<input type="checkbox" name="kategori[]" id="kategori[]" value="'.$row->kategori.'" checked="checked" /> '.ucfirst($row->kategori)."<br />";
				}
			?>
            </div></td>
          </tr>
          <tr>
            <td valign="top" nowrap="nowrap"><div align="left"><?php echo $SITEMAP_YAHOOID; ?></div></td>
            <td valign="top"><div align="left">:</div></td>
            <td valign="top"><div align="left">
              <input type="text" name="yahoo_app_id" id="yahoo_app_id" class="input-title" /><br />
			<?php echo $SITEMAP_HINT_YAHOOID; ?>
            </div></td>
          </tr>
          <tr>
            <td valign="top" nowrap="nowrap"><div align="left"><?php echo $SITEMAP_INCLUDE_PAGE_MANAGEMENT; ?></div></td>
            <td valign="top"><div align="left">:</div></td>
            <td valign="top"><div align="left">
              <input type="radio" name="include_page" id="include_page" value="yes" checked="checked" /><?php echo $DEV_YES; ?>
              <input type="radio" name="include_page" id="include_page" value="no" /><?php echo $DEV_NO; ?>
            </div></td>
          </tr>
          <tr>
            <td valign="top"><div align="left"></div></td>
            <td valign="top"><div align="left"></div></td>
            <td valign="top"><div align="left">
              <input type="submit" name="submit" id="submit" value="<?php echo $SITEMAP_CREATE; ?>" />
            </div></td>
          </tr>
        </table>
    </form>
</div>